@import '~sassvar';

.page-preorder-payment-success {
    .card {
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 20px;
    }

    .list {
        flex: 0 1 auto;
        padding: 20px 0;
        border: none;

        li {
            display: flex;
            justify-content: space-between;
            line-height: 40px;
        }

        .value {
            color: $text-normal-dark;
        }

        .danger {
            color: $text-danger;
        }
    }

    .list-item-expand {
        .value {
            margin-right: -50px;
        }
    }

    .key {
        flex: 0 0 auto;
        color: $text-normal-dark;
    }

    .button {
        margin-top: 30px;
    }

    .tips-for-preorder {
        line-height: 70px;
        padding-left: 24px;
        font-size: 28px;
        color: $text-orange;
        background: #FFF4DC;
    }
    
    //  operator
    .operators {
        display: flex;
        justify-content: space-between;
    }

    .operator {
        line-height: 96px;
        text-align: center;
        border-radius: 10px;
        background: #fff;

        &:first-child {
            width: 180px;
            color: $text-primary;
        }

        &:last-child {
            flex: 1 1 auto;
            margin-left: 10px;
            color: $text-orange;
        }
    }

    .rank-summary-card {
        padding: 160px 0 60px 0;
        text-align: center;
    }
    
    //  rank progress
    .pie-wrapper {
        margin: 0 auto;
    }

    .progress-content {
        display: flex;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .rank-progress {
    }

    .rank-progress-bd {
        h2 {
            line-height: 84px;
            font-size: 70px;
            font-weight: bolder;
            color: #C2955C;
            font-family: Helvetica, sans-serif;
            margin-bottom: 14px;
        }

        span {
            line-height: 30px;
            padding: 3px 20px;
            font-size: 22px;
            color: #fff;
            background-color: #C2955C;
            border-radius: 60px;
        }
    }

    .rank-progress-ft {
        margin-top: 20px;
        padding: 0 60px;
        text-align: center;
        color: #C2955C;
        font-size: 26px;

        .button {
            margin-top: 160px;
            color: #6E430E;
            font-size: 30px;
            background: #F9D895;
            border: none;
            border-radius: 90px;
        }
    }

    //  rank info card
    .rank-info-card {
        .card-bd {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 40px 0;
        }

        .rank {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin-left: 60px;
            width: 150px;
            height: 150px;
            color: #C2955C;
            text-align: center;
            background: url('~images/bg-rank.png') no-repeat;
            background-size: 100%;

            strong {
                margin-bottom: 4px;
                font-size: 48px;
                font-weight: bolder;
            }

            p {
                font-size: 20px;
            }
        }
    }

    //  order status
    .order-status {
        padding: 10px 24px 26px 24px;
        background: #fff;

        h2 {
            line-height: 52px;
            font-size: 38px;
            font-weight: bold;
            color: $text-primary;
        }

        .icon {
            display: inline-block;
            width: 48px;
            height: 48px;
            vertical-align: middle;
            background: no-repeat;
            background-size: 100%;
            margin-right: 4px;
            position: relative;
            top: -5px;
        }

        .icon-unpaid { background-image:  url('~images/icon-ordr-status01.png'); }
        .icon-in-queue { background-image:  url('~images/icon-ordr-status02.png'); }
        .icon-ok { background-image:  url('~images/icon-ordr-status03.png'); }
        .icon-fail { background-image:  url('~images/icon-ordr-status04.png'); }
        .icon-paid { background-image:  url('~images/icon-ordr-status05.png'); }

        p {
            line-height: 28px;
            padding: 0 54px;
            font-size: 22px;
            color: $text-normal-dark;
        }
    }

    .refund-tips {
        margin-top: 40px;
        font-size: 26px;
        color: $text-primary;
        text-align: center;
    }

    //  contact crm card
    .contact-crm-card {
        padding: 22px 0 2px 0;
    }

    .btn-contact-crm {
        width: 674px;
        height: 130px;
        margin: 0 auto;
        background: url('~images/btn-contact-crm.png') no-repeat;
        background-size: 100% 100%;
    }
}